I woke up 45 minutes before the deadline and made this. Not optimized for cycles but doesn't matter, got min.